function test_para{
    param(
       [parameter(Mandatory,HelpMessage="input the patten string.")] 
        $name

    )
    Write-Output $name
}
# test the fucntion in the script interior
test_para 